//---------------------------------------------------------------------------

#ifndef REZERVH
#define REZERVH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "IB_Services.hpp"
#include "pFIBErrorHandler.hpp"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include "FIB.hpp"
//---------------------------------------------------------------------------
class TfrREZERV : public TForm
{
__published:	// IDE-managed Components
        TSplitter *Splitter1;
        TPanel *Panel1;
        TLabel *Label1;
        TLabel *Label2;
        TSpeedButton *BOpenDatabase;
        TSpeedButton *BOpenBackup;
        TLabel *Label3;
        TLabel *LServerName;
        TLabel *Label4;
        TLabel *Label5;
        TLabel *Label8;
        TLabel *LProtocol;
        TEdit *TDatabase;
        TEdit *TBackup;
        TComboBox *CBServer;
        TComboBox *CBServerName;
        TEdit *TUserName;
        TEdit *TPassword;
        TEdit *TLength2;
        TUpDown *UpDown1;
        TButton *BAddBackup;
        TComboBox *CBProtocol;
        TButton *BDeleteBackup;
        TMemo *Memo1;
        TPanel *Panel2;
        TListBox *ListBox1;
        TpFIBBackupService *BackupService1;
        TOpenDialog *OpenDialogBackup;
        TOpenDialog *OpenDialogDatabase;
        TpFibErrorHandler *ErrorHandler1;
        TPanel *Panel3;
        TButton *BBackup;
        TButton *BExit;
        void __fastcall ErrorHandler1FIBErrorEvent(TObject *Sender,
          EFIBError *ErrorValue, TKindIBError KindIBError, bool &DoRaise);
        void __fastcall BExitClick(TObject *Sender);
        void __fastcall BBackupClick(TObject *Sender);
        void __fastcall BOpenDatabaseClick(TObject *Sender);
        void __fastcall BOpenBackupClick(TObject *Sender);
        void __fastcall TDatabaseChange(TObject *Sender);
        void __fastcall CBServerChange(TObject *Sender);
        void __fastcall BAddBackupClick(TObject *Sender);
        void __fastcall TBackupChange(TObject *Sender);
        void __fastcall BDeleteBackupClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TfrREZERV(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrREZERV *frREZERV;
//---------------------------------------------------------------------------
#endif
